package cn.itcast.nems.base.service;

import cn.itcast.nems.base.dao.entity.ResponsibilityCampusDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.itcast.ic.common.bean.Page;

import java.util.List;

/**
 * <p>
 * 员工归属负责校区明细 服务类
 * </p>
 *
 * @author czq
 * @since 2024-02-28
 */
public interface ResponsibilityCampusDetailService extends IService<ResponsibilityCampusDetail> {
    Page<ResponsibilityCampusDetail> listPage(Integer pageNumber, Integer pageSize, ResponsibilityCampusDetail params);
    ResponsibilityCampusDetail getById(String id);
    String create(String responsibilityCampusId, String campusId);
    Boolean delete(String id);
    Boolean deleteByResponsibilityCampusId(String responsibilityCampusId);
    Boolean update(ResponsibilityCampusDetail params);
    List<ResponsibilityCampusDetail> employeeCampusList(String responsibilityCampusId, String defaultCampusId);
}
